package views;

import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Text;

public class EszkozKarbantartasView extends Composite {
	private Text txtMegnevezese;
	private Button btnMentes;
	private Button btnMegse;

	public EszkozKarbantartasView(Composite arg0, int arg1) {
		super(arg0, arg1);
		setLayout(new GridLayout(2, false));

		Label lblNeve = new Label(this, SWT.NONE);
		lblNeve.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false, false,
				1, 1));
		lblNeve.setText("Megnevez\u00E9se:");

		txtMegnevezese = new Text(this, SWT.BORDER);
		txtMegnevezese.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true,
				false, 1, 1));

		btnMentes = new Button(this, SWT.NONE);
		btnMentes.setLayoutData(new GridData(SWT.CENTER, SWT.CENTER, false,
				false, 1, 1));
		btnMentes.setText("Ment\u00E9s");

		btnMegse = new Button(this, SWT.NONE);
		btnMegse.setLayoutData(new GridData(SWT.RIGHT, SWT.CENTER, false,
				false, 1, 1));
		btnMegse.setText("M\u00E9gse");

	}

	public Text getTxtMegnevezes() {
		return txtMegnevezese;
	}

	public Button getBtnMentes() {
		return btnMentes;
	}

	public Button getBtnMegse() {
		return btnMegse;
	}

}
